package com.tinycloud.miracll.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 排产数据对象 product_aps_scheduledata
 * 
 * @author tiny
 * @date 2022-06-08
 */
public class ProductApsScheduleData extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long rowNum;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 产线 */
    @Excel(name = "产线")
    private String lineNum;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal amount;

    /** 包装类型 */
    @Excel(name = "包装类型")
    private String packageType;

    /** 单批产量 */
    @Excel(name = "单批产量")
    private Long batchField;

    /** 数量吨 */
    @Excel(name = "数量吨")
    private Long amountTon;

    /** 排产单位 */
    @Excel(name = "排产单位")
    private String unit;

    /** 产线限定 */
    @Excel(name = "产线限定")
    private String lineLimit;

    /** 产线匹配 */
    @Excel(name = "产线匹配")
    private String lineMapFlag;

    /** 排产编号 */
    @Excel(name = "排产编号")
    private String scheduleNum;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private String excelserverrcid;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private String excelserverrc1;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private String excelserverwiid;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private String excelserverrtid;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private Long excelserverrn;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private Long excelservercn;

    /** $column.columnComment */
    @Excel(name = "排产编号")
    private Long excelserverchg;

    /** 调整 */
    @Excel(name = "调整")
    private String editType;

    /** 调整内容 */
    @Excel(name = "调整内容")
    private String editDesc;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String mainBillNum;

    public void setRowNum(Long rowNum){
        this.rowNum = rowNum;
    }

    public Long getRowNum(){
        return rowNum;
    }
    public void setQcNum(String qcNum){
        this.qcNum = qcNum;
    }

    public String getQcNum(){
        return qcNum;
    }
    public void setLineNum(String lineNum){
        this.lineNum = lineNum;
    }

    public String getLineNum(){
        return lineNum;
    }
    public void setScheduleDate(Date scheduleDate){
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate(){
        return scheduleDate;
    }
    public void setAmount(BigDecimal amount){
        this.amount = amount;
    }

    public BigDecimal getAmount(){
        return amount;
    }
    public void setPackageType(String packageType){
        this.packageType = packageType;
    }

    public String getPackageType(){
        return packageType;
    }
    public void setBatchField(Long batchField){
        this.batchField = batchField;
    }

    public Long getBatchField(){
        return batchField;
    }
    public void setAmountTon(Long amountTon){
        this.amountTon = amountTon;
    }

    public Long getAmountTon(){
        return amountTon;
    }
    public void setUnit(String unit){
        this.unit = unit;
    }

    public String getUnit(){
        return unit;
    }
    public void setLineLimit(String lineLimit){
        this.lineLimit = lineLimit;
    }

    public String getLineLimit(){
        return lineLimit;
    }
    public void setLineMapFlag(String lineMapFlag){
        this.lineMapFlag = lineMapFlag;
    }

    public String getLineMapFlag(){
        return lineMapFlag;
    }
    public void setScheduleNum(String scheduleNum){
        this.scheduleNum = scheduleNum;
    }

    public String getScheduleNum(){
        return scheduleNum;
    }
    public void setExcelserverrcid(String excelserverrcid){
        this.excelserverrcid = excelserverrcid;
    }

    public String getExcelserverrcid(){
        return excelserverrcid;
    }
    public void setExcelserverrc1(String excelserverrc1){
        this.excelserverrc1 = excelserverrc1;
    }

    public String getExcelserverrc1(){
        return excelserverrc1;
    }
    public void setExcelserverwiid(String excelserverwiid){
        this.excelserverwiid = excelserverwiid;
    }

    public String getExcelserverwiid(){
        return excelserverwiid;
    }
    public void setExcelserverrtid(String excelserverrtid){
        this.excelserverrtid = excelserverrtid;
    }

    public String getExcelserverrtid(){
        return excelserverrtid;
    }
    public void setExcelserverrn(Long excelserverrn){
        this.excelserverrn = excelserverrn;
    }

    public Long getExcelserverrn(){
        return excelserverrn;
    }
    public void setExcelservercn(Long excelservercn){
        this.excelservercn = excelservercn;
    }

    public Long getExcelservercn(){
        return excelservercn;
    }
    public void setExcelserverchg(Long excelserverchg){
        this.excelserverchg = excelserverchg;
    }

    public Long getExcelserverchg(){
        return excelserverchg;
    }
    public void setEditType(String editType){
        this.editType = editType;
    }

    public String getEditType(){
        return editType;
    }
    public void setEditDesc(String editDesc){
        this.editDesc = editDesc;
    }

    public String getEditDesc(){
        return editDesc;
    }
    public void setMainBillNum(String mainBillNum){
        this.mainBillNum = mainBillNum;
    }

    public String getMainBillNum(){
        return mainBillNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rowNum", getRowNum())
            .append("qcNum", getQcNum())
            .append("lineNum", getLineNum())
            .append("scheduleDate", getScheduleDate())
            .append("amount", getAmount())
            .append("packageType", getPackageType())
            .append("batchField", getBatchField())
            .append("amountTon", getAmountTon())
            .append("unit", getUnit())
            .append("remark", getRemark())
            .append("lineLimit", getLineLimit())
            .append("lineMapFlag", getLineMapFlag())
            .append("scheduleNum", getScheduleNum())
            .append("excelserverrcid", getExcelserverrcid())
            .append("excelserverrc1", getExcelserverrc1())
            .append("excelserverwiid", getExcelserverwiid())
            .append("excelserverrtid", getExcelserverrtid())
            .append("excelserverrn", getExcelserverrn())
            .append("excelservercn", getExcelservercn())
            .append("excelserverchg", getExcelserverchg())
            .append("editType", getEditType())
            .append("editDesc", getEditDesc())
            .append("mainBillNum", getMainBillNum())
            .toString();
    }
}
